package com.zmn.mcc.permit.mysql.annotation.model;

import com.zmn.mcc.permit.mysql.annotation.ZmnDPermit;

/**
 * @author duanzuocai
 * @version v1.0
 * @since 2020/7/4 16:45
 */
public class ZmnDPermitModel {

    private String clazz;
    private String method;
    private ZmnDPermit annotation;

    public ZmnDPermitModel(String clazz, String method, ZmnDPermit annotation) {
        this.clazz = clazz;
        this.method = method;
        this.annotation = annotation;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public ZmnDPermit getAnnotation() {
        return annotation;
    }

    public void setAnnotation(ZmnDPermit annotation) {
        this.annotation = annotation;
    }

    public String getClazz() {
        return clazz;
    }

    public void setClazz(String clazz) {
        this.clazz = clazz;
    }

    @Override
    public String toString() {
        return new StringBuilder(clazz == null ? "" : clazz).append("#").append(method == null ? "" : method).toString();
    }
}
